﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LevelEditor.model.elements;

namespace LevelEditor.events
{
    public class DoublePageChangedEvent : AbstractChangedEvent
    {
        #region Variables
        private DoublePage m_doublePage;
        private int m_pageIndex;
        private int m_changedType;
        private int m_levelPagesNb;

        #endregion

        #region Constructeurs
        public DoublePageChangedEvent(string eventMsg, DoublePage doublePage, int pageIndex, int changedType, int levelPagesNb)
            : base(eventMsg)
        {
            m_doublePage = doublePage;
            m_pageIndex = pageIndex;
            m_changedType = changedType;
            m_levelPagesNb = levelPagesNb;
        }

        #endregion

        #region Getters && Setters
        public DoublePage doublePage
        {
            get { return m_doublePage; }
        }

        public int pageIndex
        {
            get { return m_pageIndex; }
        }

        public int changedType
        {
            get { return m_changedType; }
        }

        public int levelPagesNb
        {
            get { return m_levelPagesNb; }
        }

        #endregion
    }
}
